
package com.dhcc.bpm.modules.orga.service.impl;

import com.dhcc.bpm.modules.orga.entity.TestApply;
import com.dhcc.bpm.modules.orga.vo.TestApplyVO;
import com.dhcc.bpm.modules.orga.mapper.TestApplyMapper;
import com.dhcc.bpm.modules.orga.service.ITestApplyService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName TestApplyServiceImpl
 * @Description 测试申请审批表 服务实现类
 * @Author daina
 * @Date 2020/2/24 19:25
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service("opc_test_apply")
public class TestApplyServiceImpl extends BaseServiceImpl<TestApplyMapper, TestApply> implements ITestApplyService {

	@Override
	public IPage<TestApplyVO> selectTestApplyPage(IPage<TestApplyVO> page, TestApplyVO testApply) {
		return page.setRecords(baseMapper.selectTestApplyPage(page, testApply));
	}

	@Override
	public TestApply selectByAppId(Long appId) {
		return baseMapper.selectByAppId(appId);
	}

}
